package com.job.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("职位表")
public class Position implements Serializable {

    @TableId
    @ApiModelProperty("职位id")
    private Integer positionId;

    @ApiModelProperty("职位")
    private String position;

    @ApiModelProperty("薪资")
    private Integer salaryStart;

    @ApiModelProperty("薪资")
    private Integer salaryEnd;

    @ApiModelProperty("年终")
    private Integer award;

    @ApiModelProperty("学历")
    private Integer xl;

    @ApiModelProperty("人事id")
    private Integer hrId;

    @ApiModelProperty("公司id")
    private Integer corporationId;

    @ApiModelProperty("发布岗位时间")
    private LocalDateTime createTime;

    @ApiModelProperty("优势")
    private String advantage;

}
